#include <iostream>

using namespace std;

int main(){
	int a = 10;
	int b = 20;
	int c = 30;
	auto func = [&](int a, int b){
		return a + b + c;
	};
	
	cout << func(a, c) << endl;
	
	return 0;
}